css: Plug a memory leak
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 Jul 2020 16:14:18 +0000 (12:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Jul 2020 16:14:18 +0000 (12:14 -0400)
commit75db19c78948ddfc768a043aa9a8f6a442433d2d
treeef67a9bdc94b0afccaa6a80b8b0e15559676290c
parentee9f9ae05e351cf36e5f54378acf62c6d2f8c161
css: Plug a memory leak

When a rule has no styles, we don't add it
to our ruleset. Since we are not adopting
the selectors in this case, we must free them.

Fixes: #2921
gtk/gtkcssprovider.c